#include<stdio.h>

int main() {
    char a[110];
    int c[150]={0};
    scanf("%s",a);
    int i=0;
    while (a[i]!='\0'){
        if ((a[i]>='A'&&a[i]<='Z')||(a[i]>='a'&&a[i]<='z')){
            c[a[i]]++;
        }
        i++;
    }
    for (int j = 0; j <150 ; j++) {
        if (c[j]!=0){
            printf("The character %c has presented %d times.\n",j,c[j]);
        }
    }
    return 0;
}
